<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'kuaijian.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	<link rel="stylesheet" type="text/css" href="style/inf.css">

<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/inf.js"></script>

  </head>
  
  <body style="background-color: transparent;" onload="loadBdNameAndPageEven();"><!-- 此处增加了参数  By Huang 看到后可删除此注释-->
	<h1>快件查询：</h1>
	楼号：
	<select id="dormBdName" size="1" name="dormName">
	</select> 
	是否领取：
	<select id="issignin" size="1" name="issignin">
		<option>未领取</option>
		<option>已领取</option>
	</select> 
	<input type="button" value="确定" onclick="loadExpress(1);"></input>
	<input id="add-Bt" type="button" value="新增" onclick="addExpressInf();"/>
	
	<table id="infTable" border="1" bordercolor="#000000"><!-- 表格ID已更改 By Huang 看到后可删除此注释-->
		<tr id="ttitle">
			<th scope="col">楼号</th>
			<th scope="col">宿舍号</th>
			<th scope="col">学号</th>
			<th scope="col">姓名</th>
			<th scope="col">到达日期</th>
			<th scope="col">是否已签收</th>
			<th scope="col">领取日期</th>
			<th scope="col">操作</th>
		</tr>
	</table>
	<div id="changePage">
		<a href="javascript:void(0)" class="previous">上一页</a>
		<select id="page_select"></select>
		<a href="javascript:void(0)" class="next">下一页</a>
	</div>
	
	<!-- 新增和修改快件对话框  -->
	<div id="newExpInf_div" class="addDialog">
	<input type="hidden" id="Expid" ><!-- 用来存放快件记录的ID -->
		<div id="utiInf_l">
			<p>
				学生学号：<input type="text" id="stuID" />
			</p>
			<p>
				是否已签收：
				<select id="sign" size="1" name="sign">
				<option>未领取</option>
				<option>已领取</option>
	</select> 
			</p>

		</div>
		<div id="utiInf_l">
			<p>
				到达日期： <input type="datetime-local" id="arrivaltime" />
			</p>
			<p>
				领取日期：<input type="datetime-local" id="signtime" />
			</p>
			
		</div>
		<div>
			<input type="button" id="edit_save" class="save" value="保存" onclick="editExpress()"/>
			<input type="button" id="add_save" class="save" value="保存" onclick="addExpress()"/> 
			<input type="button" id="close" value="关闭" onclick="hideAddExpInf();"/>
		</div>
	</div>
</body>
</html>
